package test.it.concept.pin.pojo;

import it.concept.pin.annotations.Pin;
import it.concept.pin.annotations.Transport;

import java.util.List;

@Pin( javaInterfaceName="test.it.concept.pin.model.Identity" )
public class IdentityPojo extends NamePojo {

	private LocationPojo location;
	private List<?> accessLog;
	@Transport( test.it.concept.pin.pojo.AccessPojo.class )
	private List<?> cashWithDrawLog;
	
	/******* SETTER METHODS *******/
	
	/**
	 * Set by method annotation
	 */
	@Transport
	public void setLocation( LocationPojo location ) {
	
		this.location = location;
	
	}
	
	@Transport( test.it.concept.pin.pojo.AccessPojo.class )
	public void setAccessLog( List<?> accessLog ) {
		
		this.accessLog = accessLog;
		
	}

	/******* GETTER METHODS *******/
	public LocationPojo getLocation() {
	
		return location;
	
	}

	public List<?> getAccessLog() {
	
		return accessLog;
	
	}

	public void setCashWithdraw(List<?> cashWithdraw) {
		
		this.cashWithDrawLog = cashWithdraw;
		
	}

	public List<?> getCashWithDrawLog() {
		
		return cashWithDrawLog;
		
	}
	
}
